package dao;

import bean.Student;
import bean.Users;

import java.util.List;

public interface StudentDao {
public  List<Student> getstulist(String stuname,String stuno,int  sex,int index,int lines);
    public int gettotal(String stuname, String stuno, int i);
    public int addstu(String stuname,String stuno,String address,String email,String phone,String idnumber,
                       String politics,String registered,String profession,String introduction,int gid,int sex);
    public Student getStudentById(int stuid);
    public  int updateStudent(int stuid ,String stuname,String stuno,String address,String email,String phone,String idnumber,
                              String politics,String registered,String profession,String introduction,int gid,int sex);
    public int deletestudent(int stuid);
    }

